package com.leyou.item.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.leyou.common.dto.BaseDTO;
import com.leyou.common.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

@Data
@EqualsAndHashCode(callSuper = true)
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SpuDetailDTO extends BaseDTO {
        private Long spuId;// 对应的SPU的id
        private String description;// 商品描述
        private String packingList;// 包装清单
        private String afterService;// 售后服务
        private String specification;// 规格参数

        public SpuDetailDTO(BaseEntity entity) {
            super(entity);
        }
}
